/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.creatjobmanage.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

/**
 * 园区项目内容和名称Entity
 * @author zms
 * @version 2018-03-26
 */
public class CreatJobPart extends DataEntity<CreatJobPart> {
	
	private static final long serialVersionUID = 1L;
	private String partName;		// 项目名称
	private String partContent;		// 项目内容
	
	public CreatJobPart() {
		super();
	}

	public CreatJobPart(String id){
		super(id);
	}

	@Length(min=1, max=64, message="项目名称长度必须介于 1 和 64 之间")
	public String getPartName() {
		return partName;
	}

	public void setPartName(String partName) {
		this.partName = partName;
	}
	
	@Length(min=0, max=255, message="项目内容长度必须介于 0 和 255 之间")
	public String getPartContent() {
		return partContent;
	}

	public void setPartContent(String partContent) {
		this.partContent = partContent;
	}
	
}